// samsting : this file is auto create.

#ifndef ALIYUN_Slb_SetLoadBalancerTCPListenerAttributeRequest_H_
#define ALIYUN_Slb_SetLoadBalancerTCPListenerAttributeRequest_H_

#include "core/rpc_acs_request.h"

namespace aliyun { namespace Slb {

class SetLoadBalancerTCPListenerAttributeRequest : public RpcAcsRequest {
public:
  SetLoadBalancerTCPListenerAttributeRequest();

  const string& GetLoadBalancerId(void) const;
  void          SetLoadBalancerId(const string& LoadBalancerId);

  int  GetListenerPort(void) const;
  void SetListenerPort(int ListenerPort);

  const string& GetScheduler(void) const;
  void          SetScheduler(const string& Scheduler);

  int  GetPersistenceTimeout(void) const;
  void SetPersistenceTimeout(int PersistenceTimeout);

  const string& GetHealthCheck(void) const;
  void          SetHealthCheck(const string& HealthCheck);

  int  GetHealthyThreshold(void) const;
  bool SetHealthyThreshold(int HealthyThreshold);

  int  GetUnhealthyThreshold(void) const;
  bool SetUnhealthyThreshold(int UnhealthyThreshold);

  int  GetConnectTimeout(void) const;
  void SetConnectTimeout(int ConnectTimeout);

  int  GetConnectPort(void) const;
  void SetConnectPort(int ConnectPort);

  int  GetInterval(void) const;
  void SetInterval(int Interval);

  const string& GetHostId(void) const;
  void          SetHostId(const string& HostId);

  const string& GetOwnerAccount(void) const;
  void          SetOwnerAccount(const string& OwnerAccount);

private:
  string LoadBalancerId_;
  int    ListenerPort_;
  string Scheduler_;
  int    PersistenceTimeout_;
  string HealthCheck_;
  int    HealthyThreshold_;
  int    UnhealthyThreshold_;
  int    ConnectTimeout_;
  int    ConnectPort_;
  int    Interval_;
  string HostId_;
  string OwnerAccount_;

};

} } // namespace aliyun { namespace Slb {

#endif // #ifndef ALIYUN_Slb_SetLoadBalancerTCPListenerAttributeRequest_H_

// end of file 
